/**日期辅助ts */
import dayjs from 'dayjs'
export const disabledBeforeToday = (date: Date) => {
    return dayjs(dayjs().format('YYYY-MM-DD 00:00:00')).toDate().getTime() > date.getTime()
}